projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c1198f
)
buttonbox: Remove redundant if statement
author
Timm Bäder
<mail@baedert.org>
Wed, 26 Dec 2018 05:59:51 +0000
(06:59 +0100)
committer
Timm Bäder
<mail@baedert.org>
Thu, 3 Jan 2019 07:57:16 +0000
(08:57 +0100)
This used to do something in the past.
gtk/gtkbbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkbbox.c
b/gtk/gtkbbox.c
index 4ea91a69e92efc1f6b57130f0371e20c55883cea..4addf8ae5add63d607ec2811e07f4a21e6853b27 100644
(file)
--- a/
gtk/gtkbbox.c
+++ b/
gtk/gtkbbox.c
@@
-835,11
+835,6
@@
gtk_button_box_size_allocate (GtkWidget *widget,
}
total_size = primary_size + secondary_size;
- if (orientation == GTK_ORIENTATION_HORIZONTAL)
- width = width;
- else
- height = height;
-
switch (priv->layout_style)
{
case GTK_BUTTONBOX_SPREAD: